package com.wh.springboot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wh.springboot.common.entity.HealthClockData;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface HeathClockMapper extends BaseMapper<HealthClockData> {
    @Select("SELECT * FROM health_clock WHERE uid = #{userId}")
    List<HealthClockData> findByUserId(Integer userId);
}
